Hi.
When trying to create a new virtual field against a table, I've noticed that the Virtual Field type dropdown in the IDE is not always consistent.
We are trying to create a virtual date field that has a Date conversion Type but don't seem to get the option on some Tables.
I can't see any obvious difference between a table that shows all Virtual Field Types and one that only shows Code Fragment and Undefined.
How do we get from this
To this
I'm probably missing something obvious but I can't think what it is.
btw both these tables are RDMLX enabled.
Virtual Field Type
Re: Virtual Field Type
My 1st question would be why would you not use the Date Field Format ? - Especially if you are using RDMLX tables.
But to answer your question...
What are the Field types of the Virtual Fields you are using? Our company used the same format you are trying to set up and we would use (S8,0) for both the real field and the virtual field. Are the field formats you are trying to use for the virtual field the same?
Best,
Chad
Sherrill Furniture Company
But to answer your question...
What are the Field types of the Virtual Fields you are using? Our company used the same format you are trying to set up and we would use (S8,0) for both the real field and the virtual field. Are the field formats you are trying to use for the virtual field the same?
Best,
Chad
Sherrill Furniture Company
-
paularstall
- Posts: 11
- Joined: Tue Oct 09, 2018 2:09 am
Re: Virtual Field Type
Thanks Chad.
We have created the normal date field which is S8,0 and written as YYYYMMDD on the table (DCD2DC), but we would normally also create a virtual field to display the date as DDMMYYYY (DCD2CV). as below:
Our issue is we can't seem to do this on certain tables and I'm not sure why?
I know there are other ways of doing this but it would be good to know why this isn't possible for certain tables.
Cheers
Paul
We have created the normal date field which is S8,0 and written as YYYYMMDD on the table (DCD2DC), but we would normally also create a virtual field to display the date as DDMMYYYY (DCD2CV). as below:
Our issue is we can't seem to do this on certain tables and I'm not sure why?
I know there are other ways of doing this but it would be good to know why this isn't possible for certain tables.
Cheers
Paul
Re: Virtual Field Type
Paul,
can you please check table properties for RDMLX enabled Flag for both tables?
Regards
Srini
can you please check table properties for RDMLX enabled Flag for both tables?
Regards
Srini
-
paularstall
- Posts: 11
- Joined: Tue Oct 09, 2018 2:09 am
Re: Virtual Field Type
Hi Srini.
Yes that was my first thought, the tables are both RDMLX enabled.
Though one was created a few years ago and the other is new.
Yes that was my first thought, the tables are both RDMLX enabled.
Though one was created a few years ago and the other is new.
Re: Virtual Field Type
I have tested in V15 EPC 150014, with rdmlx files, rdml files, other files in ibm as other files in window... cant reproduce that. In all cases I can create all kind of virtual fields.
what version/epc are you using?
I dont have any old S/36 flat files that use to be loaded as other files, but wondering is that could be the case...
what version/epc are you using?
I dont have any old S/36 flat files that use to be loaded as other files, but wondering is that could be the case...
-
paularstall
- Posts: 11
- Joined: Tue Oct 09, 2018 2:09 am
Re: Virtual Field Type
Hi Dino.
We are on V14.2 EPC 142051
We are on V14.2 EPC 142051
Re: Virtual Field Type
Did you ever get a solution to this issue? We're having the same problem. Thanks!
Re: Virtual Field Type
Adding on to suggest checking that the field types are the same for both the real and virtual fields for doing a date conversion. We do almost the same thing at my company where the real field is a Packed(8,0) or Signed(8,0) field holding the date in YYYYMMDD format and the virtual is a Packed(6,0) or Signed(6,0) field, respectively, holding the date in MMDDYY format.
Theron Rossiter
Kawasaki Motors Manufacturing Corp., USA
Kawasaki Motors Manufacturing Corp., USA