Solved

add a record and delete a record on a flexgrid

Posted on 2014-11-26
7
111 Views
Last Modified: 2014-11-27
The attached project successfully imports websites from a text file into a flexgrid and then allows editing in the flexgrid.  After the editing, the updated records can be exported back to the text file.

When it comes to "adding" a new record and "deleting" a record, I am only familiar with datagrids.  It seems that adding a record and deleting a record must occur programmatically.  What is the best way to add a record and delete a record in the attached project? (msflexgrid)

Thank you very much for your help.
add-delete-record.zip
0
Comment
Question by:al4629740
  • 5
  • 2
7 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40469138
I'll have a solution shortly.
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40469196
I'm assuming that you want to add a new website and that it's a requirement that there be a domain (e.g. .com, .net., etc).
0
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40469463
Try the attached.
Q-28570524.zip
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 46

Expert Comment

by:Martin Liss
ID: 40469465
When the user edits an entry, is it allowable that the result winds up as a duplicate of another entry? That's possible now and if you don't want to allow it I'd appreciate you requesting that in a new question, but I can do it here if you like, so just let me know.
0
 

Author Comment

by:al4629740
ID: 40469479
I will ask it in another question.  Thank Martin.  Let me test it out
0
 

Author Closing Comment

by:al4629740
ID: 40469484
Excellent
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40469496
Thanks.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question