PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Classes according to data file structure
Classes according to data file structure
Started by Antonio Díaz, Feb., 28 2021 9:12 PM - 5 replies
Connect yourself…
Antonio Díaz
#1
Registered member
71 messages
Popularité : +2 (2 votes)
Posted on February, 28 2021 - 9:12 PM
Hi guys,
How can I create a class or a structure that will inherit any data file structure? I need this to update the records of a file from a data structure without using the fields. I was thinking of a class because I don't want to create a structure for each table. I don't know if what I am saying makes sense.
Thank you in advance.
--
Antonio Diaz
Emphasys Software, S.C.
Report
0
0
Rubén Sánchez Peña
#2
Registered member
796 messages
Popularité : +40 (42 votes)
Posted on March, 03 2021 - 1:58 PM
If you want to use HFSQL you need to define in the analysis the structure of the data.
Rubén
Report
0
0
Jacek
#3
Registered member
7 messages
Posted on March, 03 2021 - 4:44 PM
Hi Antonio,
I am afraid it does not, for me.
I most DBMS you can get a list of columns for a table, then you can load it into an array and try to build INSERTs and SELECTs etc with it.
I have a feeling it is not what you are after.
Look into Ruben's idea or elaborate some more.
May be you should have a look at wxPerts videos too.
All the best
/Jacek
PS. Isn't it that you want us to do the thinking for you ?
Report
0
0
Antonio Díaz
#4
Registered member
71 messages
Popularité : +2 (2 votes)
Posted on March, 03 2021 - 6:00 PM
Thanks Jacek, Rubén,
I'll keep looking into that....
--
Antonio Diaz
Emphasys Software, S.C.
Report
0
0
Paulo Oliveira
#5
Posted on March, 04 2021 - 1:59 PM
Did you try using one Record (Type of variable)
https://doc.windev.com/en-US/index.awp…
Report
1
0
Antonio Díaz
#6
Registered member
71 messages
Popularité : +2 (2 votes)
Posted on March, 04 2021 - 5:37 PM
Yes!.. thanks Paulo, that's what I was looking for, thanks so much!
--
Antonio Diaz
Emphasys Software, S.C.
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text