I guess my first post was either TOO HARD for the brains to figure out.......or TOO SIMPLE. hAVEN'T MADE UP MY MIND WHICH.
i'M SORRY BOUT THE ATTITUDE.......I hate being ignored. At least one of you moderators could at least tell me I'm stupid and NO ONE has the brains to help me.......then I'd feel better.......still stupid........but better hahahahahaha.
YOU guys are great, really.......and SORRY (really) for "venting" please forgive me.
so once again, I'll submit my "stupid" problem hahahaha.![]()
![]()
![]()
AS FOLLOWS:
Not sure if this is where I should be asking this......but here it is.![]()
![]()
![]()
![]()
![]()
I need to take an .ini file, and check it's values again a table in database.
Example: Ini file
[FIELD1] -- this will be a File Name
FIELD2 (sub name) = (crc value) -- the rest will be values stored
FIELD3 = 0
FIELD4 = (crc value)
FIELD5 = (crc value)
FIELD6 = 0
etc.............
(FIELD2 onward are the fields in the DB this will be a constant)
exmpl DB tbl: ini_name,one,two,three,four,five,six.......
What I need to do with the DB is:
FIRST:
I need to check if the "FIELD1" name already exists.
and if it does, check all the values in the INI (section name and values) against it to be sure the INI "MATCHES" the data for "FIELD1" first then check the rest of the values in the DB to be sure it is an exact match.
SECOND:
If the "Section Name" of the INI DOES NOT MATCH Field1 of the DB table, I want to check the "values" (INI), against Fields2 onward (DB) to see if the "data" matches. (just in case the recipient named HIS file another name (section name) of INI, but has the same values.
(if no match for file name, but all data matches, then a dialog saying same giving choice to "rename" their file in the DB.
If "Section Name" (INI) and FIELD1 (DB) value matches but the "data" in FIELD2 onward do not match, then i want to do a dialog to inform them of same and stop the search.
if everything matches, then I "do" something.
if nothing matches then a dialog ACCEPTING the new file name and values into the DB.

