Dear all
For the double data entry, I have designed the data entry app. Now I want to developed a "Entry Menu" and I want to add two options (1) First data entry (2) Second data entry, using the same dictionary to compare the data. So, how can I set/called the different data file name using the same dictionary?
ie
PROC SelectAnOption
First data entry
Second data entry
Regards
Brti
Set different data file name
-
- Posts: 1795
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Set different data file name
How are you opening your data entry application from within your menu program? If you are running another PFF, you can modify the base PFF by doing something like:
pff entry_pff;
entry_pff.load("entry.pff");
when SelectAnOption;
1 -> entry_pff.setproperty("InputData", "First Entry.csdb");
2 -> entry_pff.setproperty("InputData", "Second Entry.csdb");
endwhen;
entry_pff.exec();
entry_pff.load("entry.pff");
when SelectAnOption;
1 -> entry_pff.setproperty("InputData", "First Entry.csdb");
2 -> entry_pff.setproperty("InputData", "Second Entry.csdb");
endwhen;
entry_pff.exec();