redhotkoi Posted March 28, 2003 Posted March 28, 2003 I work for a kitchen manufacture and designed a data base for ordering sample door with custom finish. I have four files the main one has a relationship to the finish data base which stores the finish number, name and formulas. From the main file I created a relationship via a value list to the finish DB Some time when I click on that cell to select the correct finish no. The systems just sits their and spins (think) Some times in a few minutes it will let me enter the finish no. Other time it can take anywhere from 5-20 minutes to finish thinking. Thank You Andy
Ugo DI LUCA Posted March 28, 2003 Posted March 28, 2003 Hi, relationship is running really slow What is the relationship ? Surely a key issue
djgogi Posted March 28, 2003 Posted March 28, 2003 it is an unindexed value list. Try to use indexed calculation ValueListItems(Status(CurrentFileName),"ValueListName") &Left(modTime,0) where modTime is time field with auto enter modification time option selected. Dj
redhotkoi Posted March 28, 2003 Author Posted March 28, 2003 Thank You for the advice Djukic I type this in "define field calculation" ValueListItems (status(Sample_Finish_Order), finish no.) &left(modtime,0) I get this the constant is not a recognize status flag"Sample_finish _order" that is the name of the current file or should it be the name of the file the relationship is in Thank You
Ugo DI LUCA Posted March 28, 2003 Posted March 28, 2003 Hi, Status (Current File) is a Status calc. You do not have to modify it adding you file name. Let it as it is.But finish order would need to have quotes...
redhotkoi Posted March 28, 2003 Author Posted March 28, 2003 The field is currently a text field that is indexed Sample_Finish _Order (main file) Finish Data Base (file with finish no. : finish name and formulas) Field name "finish number" Relationship name "finish data base" value list name "finish no." from another file Does this help you figure out how I screwed up Thanks Andy
redhotkoi Posted March 28, 2003 Author Posted March 28, 2003 Thank You Dj I got it entered correctly now. When I click that cell it react instantly Thanks Andy
redhotkoi Posted March 28, 2003 Author Posted March 28, 2003 oh no some thing is not right It lost all the finish no. that I had entered All of my sample order that is in the system does not have a finish no. now Please help
Ugo DI LUCA Posted March 28, 2003 Posted March 28, 2003 Hi, Do you mean the records disappeared ? Or your value list is not showing anymore ? Why are you using a value list from another file. Just define your value list in the current file and makes it use records from the other file. Then use Status(CurrentFile) in your calc.
redhotkoi Posted March 28, 2003 Author Posted March 28, 2003 The record disappeared. The value list is from the main file the value list source is from the other file. I use this "Then use Status(CurrentFile) in your calc. " get this message " the constant is not a recognize status flag"Current File" Thanks Again Ugo
Ugo DI LUCA Posted March 28, 2003 Posted March 28, 2003 Status(CurrentFileName) as DJ said. Forgive me, I have to translate from my French version of FM to this "english" forum. But it's "strange" all records disappeared.
redhotkoi Posted March 28, 2003 Author Posted March 28, 2003 It won't let me select any records when the value list pops up.
Ugo DI LUCA Posted March 28, 2003 Posted March 28, 2003 What are the records in the Value-list in the related file. You are actually using an external Value-list. Are you sure you don't want your value list (in the current file) to use records from another file, instead of using a value list from another file. These are 2 different methods. You can see these options in the defie value list menu.
redhotkoi Posted March 28, 2003 Author Posted March 28, 2003 You are correct I am using the value list from another file Finish Data Base has all of our finish formulas. The finish no. is use identify every records. From the Sample Finish Order Form I would like to select finish no. from the finish data base that has already been entered. Than it is set up to bring over the finish name, finish family, Finish Category and etc. That is my goal do you have any suggestion Andy
Ugo DI LUCA Posted March 28, 2003 Posted March 28, 2003 Hi, Now that you finally gave us your goal Go in Define Value List Menu Create a new value list Choose the option "Records from File" Choose your file Pick up the field you want the records to be listed. Make sure these records are indexed Then in layout mode, apply this value-list to the field. No relationship needed.
redhotkoi Posted March 31, 2003 Author Posted March 31, 2003 Hello I created a new value list as above which seems to work. Need to give it a couple of days to see if I run into the slowness problem. I am not using the "ValueListItems" caluclation I tried it and ran into the same problem as before. Thank You So Much For All Your Help Andy
Recommended Posts
This topic is 7965 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now