Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design for User defined Questionnaires
Message
De
31/07/2006 13:51:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
31/07/2006 13:46:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Divers
Thread ID:
01141863
Message ID:
01141882
Vues:
17
I infer them from 'preset' answers they provide and build an HTML via a generator code. HTML is saved as 'survey' itself. Since it's HTML user should be able to edit it himself in an HTML editor but I could never implement that part. Maybe I can send you more info on it later.
Cetin

>Thanks.
>
>After specifying if the answer is a checkbox list, radio and so on, how do you specify/store how many checkboxes and what their prompts are? Is that in XML too?
>
>>Frank,
>>I stored the results as an XML (all answers in a single memo).
>>Not going into details because as a whole it's somewhat complex (but I did make it into a class and now for me easy).
>>Cetin
>>
>>>Thanks Cetin,
>>>
>>>how did you store the actual responses?
>>>
>>>>>Hi,
>>>>>
>>>>>I need to design a system whereby the user can define certain questions and possible answers, then my code will display the data entry screen for these questions. It is basically a survey type system.
>>>>>
>>>>>The specs as I have understood them are:
>>>>>
>>>>>Unlimited number of questions are possible.
>>>>>
>>>>>Each question will consist of a string of text that gets displayed for the data entry clerk.
>>>>>
>>>>>Each question will have answers that are either checkboxes or text.
>>>>>
>>>>>For example:
>>>>>
>>>>>Question 1:
>>>>>Did you purchase any of the following online?
>>>>>
>>>>>Airline tickets:              Yes[] No[] Web address:...........
>>>>>Hotel Accommodation:          Yes[] No[] Web address:...........
>>>>>Other (please specify below): Yes[] No[] Web address:...........
>>>>>.......................
>>>>>
>>>>>
>>>>>Question 2:
>>>>>Compared to what you expected, kindly rate the following aspects of your visit.
>>>>>
>>>>>...................Excellent  Good  Average  Poor  Very Poor  Not Applicable
>>>>>                       1        2      3       4       5          6
>>>>>Airline Connection     []       []     []      []      []         []
>>>>>Accommodation          []       []     []      []      []         []
>>>>>Tours & Attractions    []       []     []      []      []         []
>>>>>Beaches                []       []     []      []      []         []
>>>>>
>>>>>
>>>>>
>>>>>Anybody done anything like this before and have any advice?
>>>>>
>>>>>Thanks,
>>>>
>>>>Frank,
>>>>I have done something like that and what I did was:
>>>>Prompt for question and answer type (checkbox list, radio, scaled, free form entry, answer required or not etc) along with preset answers. Generate an HTML from QA as a template.
>>>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform